package core.events
{
	public class PutIoResultEvent extends PutIoEvent
	{				
		public var nbResults:int;
		private var _results:Object;				
		
		public function PutIoResultEvent(_bubbles:Boolean = false, _cancelable:Boolean = false)
		{
			super(PUT_IO_RESULT_EVENT, _bubbles, _cancelable);						
		}		
		
		/**
		 * Get result array returned by Put.io
		 */
		public function get results():Object
		{
			return _results;
		}

		/**
		 *  Set the result array returned by Put.io
		 */
		public function set results(value:Object):void
		{
			_results = value;
		}

		public override function toString():String
		{
			return super.toString()+' nbResults='+nbResults+' results='+results;
		}
	}
}